package com.hundredapp.oa.repository;

import java.util.List;

import com.hundredapp.oa.domain.OaContract;
import com.hundredapp.oa.domain.OaStudent;

public interface ContractManager {

	List<OaContract> find(String condition);

	Integer add(OaContract contract);
	
	void save(OaContract contract);

	void delete(Integer contractid);

	List<OaContract> find(String condition, int start, int limit);

	int count(String condition);
	
	OaContract findById(Integer id);

	void update(OaContract payment);

	List<OaContract> findNonUse(String condition);
}
